home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-0195.lzh / AMOSLIST / text0104.txt < prev    next >
Encoding:
Text File  |  1995-02-01  |  1.6 KB  |  71 lines

  1.  
  2.  
  3. On Thu, 12 Jan 1995, Mike Sikorsky wrote:
  4.  
  5. >     Okay my brain is starting to bleed because I can't make up my 
  6. > mind on a consistent interface for MARP so I thought I would ask what
  7. > you blokes thought would be best....
  8. >     1. Do you like how with Amos you have to 'Set' which object
  9. >        you want the operations to be applied to ?
  10. >         Example:
  11. >             Screen 1 : Circle 10,10,10 : Screen 0
  12. >     2. Or would rather wnat to specify the object along with the
  13. >        operation ?
  14. >         Example:
  15. >             Circle 1,10,10,10
  16. >     I realise that their are advantages and disadvantages to both and
  17. >     this is what is causing my brain problems!
  18. >     Because i want MARP to be consistent it has to be either 1 or 2...
  19. >     
  20. >     This mess is applicable to every bank type Amos has... because in
  21. >     MARP you can always have multiple banks... so this goes for icons,
  22. >     samples,mods,amims,... etc.
  23. >     For screens I prefer method '1' but for Icons I prefer method '2'..
  24. >     so I can't make up my mind.... I need some input...
  25. >     Here is how Icons would work under method 1:
  26. >         M_LoadIconBank(0,"myicons.abk");
  27. >         M_SetIconBank(0); 
  28. >         printf("Number Icons in bank: %d\n",M_IconBankLength());
  29. >         M_SetIcon(10);
  30. >         printf("Icon 10 is %d pixels wide.\n",M_IconWidth());
  31. >         M_PasteIcon(x,y); /* ie. paste Icon 10 */
  32. >     Under Method 2:
  33. >         
  34. >         M_LoadIconBank(0,"myicons.abk");
  35. >         printf("Number Icons in bank: %d\n",M_IconBankLength(0));
  36. >         printf("Icon 10 is %d pixels wide\n",M_IconWidth(0,10));
  37. >         M_PasteIcon(0,10,x,y); /* Paste Icon 10 from IconBank 0 */
  38.             
  39. I prefer version 2 personally.
  40.  
  41. Richard 
  42.  
  43.  
  44.